package com.zm.demo.disruptor.log;

/**
 * @author z01140
 * @Package: com.zm.demo.disruptor.log
 * @Description:
 * @CreateDate 2023/8/29 14:56
 * @UpdateDate 2023/8/29 14:56
 */
public class LogEvent {
    private long value;

    public LogEvent(){}
    public LogEvent(long value){
        this.value = value;
    }

    public long getValue() {
        return value;
    }

    public void setValue(long value) {
        this.value = value;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("LogEvent{");
        sb.append("value=").append(value);
        sb.append('}');
        return sb.toString();
    }
}
